package com.webchat.ugc.mongodb.document;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SenderMessageCount {

    @Field("_id")
    private String senderId;

    /**
     * 未读消息总数
     */
    private Long count;
}